package com.knight.circular.references;

public class Student {

    private Desk desk;

    public Student(Desk desk) {
        this.desk = desk;
    }

    public Desk getDesk() {
        return desk;
    }

    public void setDesk(Desk desk) {
        this.desk = desk;
    }

    @Override
    public String toString() {
        return "Student{" +
                "desk=" + desk +
                '}';
    }
}
